home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
mint
/
lib
/
mntlib44.zoo
/
mntlib
/
execl.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-03-01
|
339 b
|
22 lines
/*
execl for MiNT/TOS; written by Eric R. Smith, and
placed in the public domain
*/
#include <stdarg.h>
#include <process.h>
#include <unistd.h>
#ifdef __STDC__
int execl(const char *path, ...)
#else
int execl(path)
char *path;
#endif
{
va_list args;
va_start(args, path);
return _spawnve(P_OVERLAY, path, (char **)args, NULL);
}